//
//  HDModels.m
//  HDecoration
//
//  Created by 曹群 on 15/8/13.
//  Copyright (c) 2015年 HDecoration. All rights reserved.
//

#import "HDModels.h"
@implementation HDCustomerInfo
- (id)copyWithZone:(NSZone *)zone
{
    HDCustomerInfo *newItem = [[HDCustomerInfo allocWithZone:zone] init];
    newItem.photoUrl = self.photoUrl;
    newItem.name = self.name;
    newItem.stationTime = self.stationTime;
    newItem.type = self.type;
    newItem.learnTime = self.learnTime;
    newItem.remark = self.remark;
    newItem.price = self.price;
    newItem.location = self.location;
    newItem.needCompany = self.needCompany;
    newItem.practicePosition = self.practicePosition;
    newItem.subject = self.subject;
    newItem.orderType = self.orderType;
    newItem.orderStatus = self.orderStatus;
    newItem.phoneNumber=self.phoneNumber;
    newItem.startTime=self.startTime;
    newItem.endTime=self.endTime;
    newItem.order_id=self.order_id;
    newItem.latitude=self.latitude;
    newItem.longitude=self.longitude;
    newItem.content=self.content;
    newItem.xy=self.xy;
    return newItem;
}
@end

@implementation HDMessageInfo

- (id)copyWithZone:(NSZone *)zone
{
    HDMessageInfo *newItem = [[HDMessageInfo allocWithZone:zone] init];
    newItem.msgContent = self.msgContent;
    newItem.time = self.time;
    newItem.isUnread = self.isUnread;
    return newItem;
}
@end

@implementation HDPersonalInfo

- (id)copyWithZone:(NSZone *)zone
{
    HDPersonalInfo *newItem = [[HDPersonalInfo allocWithZone:zone] init];
    newItem.photoUrl = self.photoUrl;
    newItem.name = self.name;
    newItem.teachLevel = self.teachLevel;
    newItem.subject = self.subject;
    newItem.coachLevel = self.coachLevel;
    newItem.starLevel = self.starLevel;
    newItem.learningOrderCount = self.learningOrderCount;
    newItem.practiceOrderCount = self.practiceOrderCount;
    newItem.highOpinionRate = self.highOpinionRate;
    newItem.rank = self.rank;
    return newItem;
}
@end

@implementation HDRegisterInfo

- (id)copyWithZone:(NSZone *)zone
{
    HDRegisterInfo *newItem = [[HDRegisterInfo allocWithZone:zone] init];
    newItem.name = self.name;
    newItem.identityCardId = self.identityCardId;
    newItem.driveCardId = self.driveCardId;
    newItem.coachCardId = self.coachCardId;
    newItem.phoneNumber = self.phoneNumber;
    newItem.password = self.password;
    newItem.applyType = self.applyType;
    newItem.avatarImg=self.avatarImg;
    newItem.verifyCode=self.verifyCode;
    newItem.driveCardImg = self.driveCardImg;
    newItem.coachCardImg = self.coachCardImg;
    newItem.carCardImg = self.carCardImg;
    return newItem;
}

@end

@implementation HDIncomeInfo

- (id)copyWithZone:(NSZone *)zone
{
    HDIncomeInfo *newItem = [[HDIncomeInfo allocWithZone:zone] init];
    newItem.isIncome = self.isIncome;
    newItem.detailInfo = self.detailInfo;
    newItem.number = self.number;
    newItem.type=self.type;
    return newItem;
}
@end


@implementation HDCoachInfo

- (id)copyWithZone:(NSZone *)zone
{
    HDCoachInfo *newItem = [[HDCoachInfo allocWithZone:zone] init];
    newItem.coach_no = self.coach_no;
    newItem.sex = self.sex;
    newItem.user_type = self.user_type;
    newItem.area_code = self.area_code;
    newItem.card_no = self.card_no;
    newItem.password = self.password;
    newItem.user_state = self.user_state;
    newItem.xy = self.xy;
    newItem.m_id = self.m_id;
    newItem.user_name = self.user_name;
    newItem.card_type = self.card_type;
    newItem.address = self.address;
    newItem.email = self.email;
    newItem.coach_licenses = self.coach_licenses;
    newItem.stop_result = self.stop_result;
    newItem.real_name = self.real_name;
    newItem.user_picture = self.user_picture;
    newItem.mobile_no = self.mobile_no;
    newItem.total_hours = self.total_hours;
    newItem.car_type = self.car_type;
    newItem.category = self.category;
    newItem.cservice = self.cservice;
    newItem.cport = self.cport;
    newItem.pport=self.pport;
    newItem.messageNum=self.messageNum;
    return newItem;
}

@end


@implementation HDWorkInfo

- (id)copyWithZone:(NSZone *)zone
{
    HDWorkInfo *newItem = [[HDWorkInfo allocWithZone:zone] init];
    newItem.week = self.week;
    newItem.order_count = self.order_count;
    newItem.user_count = self.user_count;
    newItem.class_count = self.class_count;
    return newItem;
}



@end







